#ifndef NETACTION_H
#define NETACTION_H

#include"Typedef.h"

using std::string;
class NetAction
{
public:
    NetAction();
    static QString getIPAddress();
    static bool ifNetgate(const string& ip);
    //获取这次的名称 
    static QString getTempName();
    static UINT32 getRandomNum();
    static string getTcpPort();
    static QString getBroadcastAddresses();

    static QString terminalName;
    static QString ip;



};

#endif // NETACTION_H
